package com.dayuanit;

public class Singal {
     public static int X = (int)(Math.random() * 10);
     public static int Y = (int)(Math.random() * 10);
     
     public Singal() {
    	 
     }
     
     public void leftRotation(int left) {
    	// int length = str.length();
    	 X -= left;
    	 //return X;
     }
     
     public void rightRotation(int right) {
    	 //int length = str.length();
    	 X += right;
    	 //return X;
     }
     
     public void goForward(int go) {
    	// int length = str.length();
    	 Y += go;
    	 //return Y;
     }
     
     public void backAway(int back) {
    	 //int length = str.length();
    	 Y -= back;
    	// return Y;
     }
     
}
